package com.exartisan.ynevent;

import android.os.Bundle;

import com.actionbarsherlock.app.SherlockFragmentActivity;

public abstract class BaseActivity extends SherlockFragmentActivity {

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setUpActionBar();
		initUI();
		initProcess();
	}


	/**
	 * initialize Views
	 */
	protected abstract void initUI();


	/**
	 * beginning actions of the Activity
	 */
	protected abstract void initProcess();

	/**
	 * Scan files from SDcard then read content of those.</br> Finally, save
	 * result of those processes into some collections.</br> Those are data of
	 * the application. Thus, write once, use the data everywhere.
	 */

	protected void setUpActionBar() {
		
	}
}
